package com.cn.mapper.dao.db5.PartsManagement;

import com.cn.bean.dto.BusinessProjectParameterItemDto;
import com.cn.bean.dto.ComponentSingleRegistrationDto;
import com.cn.bean.dto.StatusOperationDto;
import com.cn.bean.pojo.lbj.BusinessProjectSingleParameterItemHistoryDataTable;
import com.cn.bean.pojo.lbj.ComponentSingleRegistrationTable;
import com.cn.bean.pojo.sys.BusinessStateOperationSub_Table;
import com.cn.bean.pojo.sys.BusinessStatusOperationMainTable;
import com.cn.bean.pojo.yw.BusinessProjectSingleParameterItemCurrentDataTable;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ComponentSingleRegistrationDao {
    List<BusinessProjectParameterItemDto>selectBusinessProjectParameterItem(BusinessProjectParameterItemDto businessProjectParameterItemDto);
    List<ComponentSingleRegistrationTable>selectMain(ComponentSingleRegistrationTable componentSingleRegistrationTable);
    List<BusinessProjectSingleParameterItemCurrentDataTable>selectSub(BusinessProjectSingleParameterItemCurrentDataTable businessProjectSingleParameterItemCurrentDataTable);
    ComponentSingleRegistrationTable selectUniqueCode(String uniqueCode);
    List<ComponentSingleRegistrationTable>selectComponentSingleRegistrationTable(ComponentSingleRegistrationTable componentSingleRegistrationTable);
    Boolean insertComponentSingleRegistration(ComponentSingleRegistrationTable componentSingleRegistrationTable);
    Boolean insertCurrentDataTable(BusinessProjectSingleParameterItemCurrentDataTable currentDataTable);
    Boolean insertHistoryDataTable(BusinessProjectSingleParameterItemHistoryDataTable historyDataTable);
    Boolean delComponentSingleRegistration(String uniqueCode);
    Boolean delCurrentDataTableStatus(String uniqueCode);
    Boolean delCurrentDataTable(String uniqueCode);
    List<ComponentSingleRegistrationDto> selectAll(ComponentSingleRegistrationDto componentSingleRegistrationDto);
    List<ComponentSingleRegistrationDto> selectSub(String uniqueCode);
    Integer getComponentSingleRegistrationAutoid();
    Integer getCurrentDataTableAutoid();
    Boolean updateComponentSingleRegistration(ComponentSingleRegistrationTable componentSingleRegistrationTable);
    //
}
